package com.macro.mall.controller;


import com.macro.mall.common.api.CommonResult;
import com.macro.mall.model.YuqingProDataParam;
import com.macro.mall.service.YuqingProDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.text.ParseException;

@RequestMapping("yuqing/proData")
@RestController
public class YuqingProDataController {


    @Autowired
    private YuqingProDataService yuqingProDataService;

    @RequestMapping("init")
    public CommonResult init(YuqingProDataParam yuqingProDataParam) throws ParseException {
        return yuqingProDataService.init(yuqingProDataParam);
    }







}
